package com.module.circle.ui.changeIntroduction

import androidx.lifecycle.LiveData
import com.common.app.data.repository.UserApi
import com.common.base.app.viewmodel.BaseViewModel
import com.common.base.data.CommonBean

/**
 *
 * 作者：sosou
 *
 * 版本：1.0
 *
 * 创建日期：2025/07/23
 *
 * 描述：修改个人简介ViewModel
 *
 * 修订历史：
 *
 */
class ChangeIntroductionViewModel : BaseViewModel() {
    //修改用户数据
    fun modifyUsrInfo(imageId: Long = 0, nickname: String?=null, birthday: String?=null, height: Int = 0, weight: Int = 0, sex: Int = 1,description: String?,): LiveData<CommonBean<Any>> = emit({}) {
        UserApi.modifyUsrInfo(imageId,nickname,birthday,height,weight,sex,description)
    }
}